[gd_scene load_steps=2 format=3 uid="uid://bqdn0sffqugn8"]

[ext_resource type="Script" path="res://scenes/ui/menu/main_menu.gd" id="1_3kmh2"]

[node name="main_menu" type="CanvasLayer"]
script = ExtResource("1_3kmh2")

[node name="main_menu" type="Control" parent="."]
texture_filter = 1
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="ColorRect" type="ColorRect" parent="main_menu"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.898039, 0.823529, 0.513726, 0.737255)

[node name="BoxContainer" type="BoxContainer" parent="main_menu"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -163.0
offset_top = -20.0
offset_right = 163.0
offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 10

[node name="play_game" type="Button" parent="main_menu/BoxContainer"]
layout_mode = 2
text = "MAIN_MENU_KEY1"

[node name="settings" type="Button" parent="main_menu/BoxContainer"]
layout_mode = 2
text = "MAIN_MENU_KEY2"

[node name="quit" type="Button" parent="main_menu/BoxContainer"]
layout_mode = 2
text = "MAIN_MENU_KEY3"

[node name="Label" type="Label" parent="main_menu"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.994
anchor_top = 1.0
anchor_right = 0.994
anchor_bottom = 1.0
offset_left = -88.0
offset_top = -23.0
grow_horizontal = 0
grow_vertical = 0
text = "MultiMagic version x.x.x"

[connection signal="button_down" from="main_menu/BoxContainer/play_game" to="." method="_on_play_game_button_down"]
[connection signal="button_up" from="main_menu/BoxContainer/play_game" to="." method="_on_play_game_button_up"]
[connection signal="pressed" from="main_menu/BoxContainer/play_game" to="." method="_on_play_game_pressed"]
[connection signal="toggled" from="main_menu/BoxContainer/play_game" to="." method="_on_play_game_toggled"]
[connection signal="pressed" from="main_menu/BoxContainer/settings" to="." method="_on_settings_pressed"]
[connection signal="pressed" from="main_menu/BoxContainer/quit" to="." method="_on_quit_pressed"]
